<?php
return [
    'api' => [
        'micro_app' => [
            'not_exist'=>['10001', '微应用账号不存在'],
            'not_login'=>['10002', '微应用未登录或已过期'],
            'whiteip_fail'=>['10003', 'ip[:ip]未加入白名单'],
        ],
        'wechat' => [
            'user_is_not_exist'=>['20001', '微信用户不存在'],
        ],
        'user' => [
            'sms_code_is_not_valid'=>['30001', '手机验证码无效'],
            'mobile_is_exist'=>['30002', '手机已存在'],
            'unable_get_phone_number'=>['30003', '无法获取手机号']
        ],
        'file' => [
            'file_upload_fail'=>['40001', '文件上传失败'],
            'file_form_not_exist'=>['40002', '文件表单不存在'],
        ],
        'check_item' => [
            'check_item_not_exist'=>['50001', '检查项目不存在'],
            'check_item_not_enable'=>['50002', '检查项目未启用'],
        ],
        'order' => [
            'order_not_exist'=>['60001', '订单不存在'],
            'order_not_modify'=>['60002', '订单不可修改'],
            'order_not_delete'=>['60003', '订单不可删除'],
            'order_not_pay'=>['60004', '订单不可支付'],
            'order_not_pay_success'=>['60005', '订单未支付完成'],
            'order_not_refund'=>['60006', '存在已预约的样本，无法退款'],
            'order_not_refund_success'=>['60007', '退款失败'],
        ],
        'coupon' => [
            'coupon_not_enable'=>['70001', '优惠券未启用'],
            'coupon_not_reached'=>['70002', '优惠券未达到使用条件'],
        ],
        'sample' => [
            'sample_sn_not_exist'=>['80001', '样本编号不存在'],
            'sample_not_exist'=>['80002', '样本不存在'],
            'sample_not_enable'=>['80003', '样本未启用'],
            'sample_has_bind' => ['80004', '样本已绑定'],
            'not_bind_user' => ['80005', '非绑定用户'],
            'sample_bind_status_error' => ['80006', '样本绑定状态错误'],
            'sample_check_time_not_exist' => ['80007', '检查时间不存在'],
            'sample_checker_not_exist' => ['80008', '检查人员不存在'],
            'sample_check_date_not_exist' => ['80009', '检查日期不存在'],
            'sample_door_phone_not_exist' => ['80010', '收件电话不存在'],
            'sample_door_address_not_exist' => ['80011', '收件地址不存在'],
            'sample_test_location_not_exist' => ['80012', '检查点不存在'],
            'sample_check_type_not_exist' => ['80013', '检查类型不存在'],
            'sample_scan_status_error' => ['80014', '样本扫描状态错误'],
        ],
    ]
];
